/**
* Copyright (c) 2016-2100 yunclouds
*/
package com.yunqian.redot.domain;

import com.yunqian.model.BaseModel;
import com.yunqian.redot.constant.Tables;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author czy
 * 2018-10-17 15:03:49
 */
@Data
@Entity
@Table(name = Tables.SWIFTPASS_PAY)
@EqualsAndHashCode(callSuper = false)
public class SwiftpassPay extends BaseModel<Long>{
    
    /**商户订单号*/
    @Column(name = "out_trade_no")
    private String outTradeNo;
    /**发起支付-时间戳*/
    @Column(name = "time_stamp")
    private String timeStamp;
    /**发起支付-随机字符串*/
    @Column(name = "nonce_str")
    private String nonceStr;
    /**发起支付-prepay_id*/
    @Column(name = "prepay_id")
    private String prepayId;
    /**发起支付-签名*/
    @Column(name = "pay_sign")
    private String paySign;
    /**支付结果：0—成功；其它—失败*/
    @Column(name = "pay_result")
    private Integer payResult;
    /**支付结果信息，支付成功时为空*/
    @Column(name = "pay_info")
    private String payInfo;
    /**平台交易号*/
    @Column(name = "transaction_id")
    private String transactionId;
    /**第三方订单号*/
    @Column(name = "out_transaction_id")
    private String outTransactionId;
    /**总金额*/
    @Column(name = "total_fee")
    private Integer totalFee;
    /**付款银行*/
    @Column(name = "bank_type")
    private String bankType;
    /**支付完成时间*/
    @Column(name = "time_end")
    private String timeEnd;


    public SwiftpassPay() {
    }

}
